/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.navid.trafalgar.definition;

import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;

/**
 *
 * @author alberto
 */
public class SunDefinition {
    
    private float [] vector;
    
    private int[] color;

    /**
     * @return the vector
     */
    public float [] getVector() {
        return vector;
    }

    /**
     * @param vector the vector to set
     */
    public void setVector(float [] vector) {
        this.vector = vector;
    }

    /**
     * @return the color
     */
    public int[] getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(int[] color) {
        this.color = color;
    }
    
    public Vector3f getVector3f(){
        return new Vector3f(vector[0], vector[1], vector[2]);
    }
    
    public ColorRGBA getColorRGBA(){
        return new ColorRGBA(color[0], color[1], color[2], color[3]);
    }
    
}
